package com.conan.exceldemo.controller;

import com.conan.exceldemo.service.ExcelUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class POIController {

    @Autowired
    private ExcelUtil excelUtil;

    @GetMapping("/export")
    public void test(){
        excelUtil.createExcel("C:\\Users\\conan\\Desktop\\test\\zsm4.xls");
    }
}
